<template>
  <div class="container">
    <Breadcrumb
      :items="['menu.visualization', 'menu.visualization.dataAnalysis']"
    />
    <a-space direction="vertical" :size="12" fill>
      <a-space direction="vertical" :size="16" fill>
        <DataOverview />
        <!--<ChinaMapV2 />-->
      </a-space>
    </a-space>
  </div>
</template>

<script lang="ts" setup>
  import questionDataSurveyStore from '@/store/modules/data-screen';
  import DataOverview from './components/data-overview.vue';
  import ChinaMapV2 from './components/china-map-v2.vue';

  const questionData = questionDataSurveyStore();

  // questionData.answer = {
  //   total: 6,
  //   time: 529,
  //   questionTypes: [
  //     {
  //       name: '疫情问卷',
  //       value: 7,
  //     },
  //     {
  //       name: '东北大学问卷',
  //       value: 4,
  //     },
  //   ],
  //   questionUsers: [
  //     {
  //       name: 'admin',
  //       value: 2,
  //     },
  //     {
  //       name: 'wjc',
  //       value: 4,
  //     },
  //     {
  //       name: 'lyx',
  //       value: 5,
  //     },
  //   ],
  // };
</script>

<script lang="ts">
  export default {
    name: 'Test',
  };
</script>

<style scoped lang="less">
  .container {
    margin-bottom: 20px;
    padding: 0 20px 20px 20px;
  }

  .space-unit {
    background-color: var(--color-bg-2);
    border-radius: 4px;
  }

  .title-fix {
    margin: 0 0 12px 0;
    //font-size: 14;
  }

  :deep(.section-title) {
    margin: 0 0 12px 0;
    font-size: 14px;
  }
</style>
